Rules for Tools/Edit Mode Flags
Edit Mode Flags
#define E_MAGNIFY 1 /* Display a selected note. */
#define E_DRAW 2 /* Draw edit the displayed data. */
#define E_FILL 4 /* Fill in data. */
#define E_TOOL 8 /* Edit with a tool. */
#define E_DRAG 16 /* Drag notes. */
#define E_ERASE 32 /* Erase notes. */
#define E_STEPENTRY 64 /* Enter notes from MIDI. */
#define E_BOX 128 /* Use box on tool, drag, and erase commands. */
#define E_COPY 256 /* Copy notes. */
#define E_CLEAR ~0x17F /* Use to erase an option. */
#define E_REGION E_TOOL